class Notify_Class:

    def Notify(self,operation):
        def wrapper(*x,**kwargs):
            print("开始转换....")
            res=operation(*x,**kwargs)
            print("结束转换....")
            return f"膨胀10倍{res * 10}"
        return wrapper

    def Notify1(self,text):
        def decorator(operation):
            def wrapper(*x,**kwargs):
                print(text)
                print("开始转换....")
                res=operation(*x,**kwargs)
                print("结束转换....")
                return f"膨胀10倍{res * 10}"
            return wrapper
        return decorator
